package com.wanmait.wanmarecruit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
* Created by Mybatis Generator 2022/11/08
*/
@Data
@TableName(value = "company_pic")
public class CompanyPic implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 公司环境图片
     */
    @TableField(value = "pic")
    private String pic;

    /**
     * 关联公司id
     */
    @TableField(value = "company_id")
    private Integer companyId;

    @TableField(exist = false)
    private Company company;

    private static final long serialVersionUID = 1L;

    public static final String COL_PIC = "pic";

    public static final String COL_COMPANY_ID = "company_id";
}